package com.ruoyi.knd.service;

import java.util.List;
import com.ruoyi.knd.domain.KndArticle;

/**
 * articleService接口
 * 
 * @author tj
 * @date 2021-10-14
 */
public interface IKndArticleService 
{
    /**
     * 查询article
     * 
     * @param id article主键
     * @return article
     */
    public KndArticle selectKndArticleById(Long id);

    /**
     * 查询article列表
     * 
     * @param kndArticle article
     * @return article集合
     */
    public List<KndArticle> selectKndArticleList(KndArticle kndArticle);

    /**
     * 新增article
     * 
     * @param kndArticle article
     * @return 结果
     */
    public int insertKndArticle(KndArticle kndArticle);

    /**
     * 修改article
     * 
     * @param kndArticle article
     * @return 结果
     */
    public int updateKndArticle(KndArticle kndArticle);

    /**
     * 批量删除article
     * 
     * @param ids 需要删除的article主键集合
     * @return 结果
     */
    public int deleteKndArticleByIds(String ids);

    /**
     * 删除article信息
     * 
     * @param id article主键
     * @return 结果
     */
    public int deleteKndArticleById(Long id);
}
